package com.neuedu.javase.oo.polymorphic;

/***
 * 项目名称:  MyJavaSE 
 * 包：  com.neuedu.javase.oo.polymorphic 
 * date:   2025/10/24   11:07  
 * 描述:  
 *  @author : 张金山
 *  作者博客:   https://blog.fulfill.com.cn
 */
public class Runner {

    public static void main(String[] args) {


        Printer printer;

        printer  = new WhiteAndBlackPrinter();
        printer.print("试卷");




        printer  = new ColorfulPrinter();
        printer.print("照片");





    }


}
